<table cellpadding="0" cellspacing="1" class="table_list">
    <caption>{$cat['catname']} 内容管理</caption>
    <tr>
		<td class="align_l">
            {if $c->check_perms($catid, 'CON002')}
            <a href="{$self_url}?action=add&module={$module_name}&catid={$catid}&site_id={$site_id}"><font color="red">撰写信息</font></a>
            <a href="{$self_url}?action=import&module={$module_name}&catid={$catid}&site_id={$site_id}">批量导入</a>
            {/if}
            {if check_perms('can_view_other_news')}
            | <a href="{$self_url}?&catid={$catid}&module={$module_name}&type=2&searchtext={$current_user['username']}&bkforward={$bkforward}">我发布的新闻</a>
            {/if}
            {loop $workflow $r}
            {if $c->check_perms($catid, 'process_'.$r['id'])}
            | <a href="{$self_url}?catid={$catid}&module={$module_name}&action=audit&processid={$r['id']}&bkforward={$bkforward}">{$r['name']}</a>
            {/if}
            {/loop}
            {if $c->check_perms($catid, 'CON001')}
            | <a href="{$self_url}?catid={$catid}&module={$module_name}&bkforward={$bkforward}">管理</a>
            {/if}
            {if $c->check_perms($catid, 'CON004')}
            | <a href="{$self_url}?catid={$catid}&module={$module_name}&action=recycle_bin&bkforward={$bkforward}">回收站</a>
            {/if}
            {php $addbutton = $hook_obj->op_hook('manage_content_button', $CURRENT_SITEID, array('catid'=>$catid,'siteid'=>$CURRENT_SITEID,'type'=>$module_name));}
            {if is_array($addbutton)}
	            {loop $addbutton $button}
	            	{$button}
	            {/loop}
            {/if}
		</td>
    </tr>
</table>